package com.shire.shire_interface.dao.friend;

import com.shire.shire_interface.model.friend.WxFriend;
import com.shire.shire_interface.model.friend.WxFriendExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WxFriendDao {
    long countByExample(WxFriendExample example);

    int deleteByExample(WxFriendExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxFriend record);

    int insertSelective(WxFriend record);
    int batchInsertSelective(@Param(value = "recordList") List<WxFriend> recordList);

    List<WxFriend> selectByExample(WxFriendExample example);

    WxFriend selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxFriend record, @Param("example") WxFriendExample example);

    int updateByExample(@Param("record") WxFriend record, @Param("example") WxFriendExample example);

    int updateByPrimaryKeySelective(WxFriend record);
    int batchUpdateByPrimaryKeySelective(@Param(value = "recordList") List<WxFriend> recordList);

    int updateByPrimaryKey(WxFriend record);
}